import 'package:boss/ui/widget/title_row_button.dart';
import 'package:flutter/material.dart';

class CostManagementItem extends StatelessWidget {
  VoidCallback onTap;
  dynamic title;
  dynamic subTitle;
  int childHeight;
  String value;

  CostManagementItem({
    Key key,
    this.title,
    this.subTitle,
    this.childHeight,
    this.value,
    this.onTap,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return TitleRowButton(
      title: title,
      subTitle: subTitle,
      childHeight: childHeight,
      hintText: '去设置 >',
      value: value,
      isHideIcon: true,
      onTap: onTap,
    );
  }
}
